package com.example.bean;

import java.util.Date;

public class User {
    private int userId;

    private String userName;

    private String userPhone;

    private String userIdentity;

    private String userPassword;

    private String card;

    private int maxBorrowNum;

    private int nowBorrowNum;

    private String userImg;


    private int borrowTime;

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userIdentity='" + userIdentity + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", card='" + card + '\'' +
                ", maxBorrowNum=" + maxBorrowNum +
                ", nowBorrowNum=" + nowBorrowNum +
                ", userImg='" + userImg + '\'' +
                ", borrowTime=" + borrowTime +
                '}';
    }

    public int getBorrowTime() {
        return borrowTime;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public String getUserIdentity() {
        return userIdentity;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getCard() {
        return card;
    }

    public void setBorrowTime(int borrowTime) {
        this.borrowTime = borrowTime;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public void setUserIdentity(String userIdentity) {
        this.userIdentity = userIdentity;
    }


    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public int getMaxBorrowNum() {
        return maxBorrowNum;
    }

    public void setMaxBorrowNum(int maxBorrowNum) {
        this.maxBorrowNum = maxBorrowNum;
    }

    public int getNowBorrowNum() {
        return nowBorrowNum;
    }

    public void setNowBorrowNum(int nowBorrowNum) {
        this.nowBorrowNum = nowBorrowNum;
    }

}
